<template>
  <div class="Cate_big"  :class="ismove?'move':''">
    <div class="cate_goods" v-for="item in leftList" :key="item.id">
      <div class="top">
        <div class="line"></div>
        <span class="title">{{ item.name }}</span>
        <div class="line"></div>
      </div>
      <div class="content">
        <div class="item" v-for="images in item.child" :key="images.id">
          <img :src="images.extra" alt="" />
          <span>{{ images.name }}</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "FxhDemoCategoods",
  props: ["leftList","ismove"],
  data() {
    return {
      images: [],
    };
  },
  created() {
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.move{
  margin-top:-40vh ;
}
.Cate_big{
  width: 285px;
  height: 150vh;
 overflow-y: scroll;
}
.cate_goods {
  @include cloumn-center;
  width: 271px;
  height: 256px;
  .top {
    @include flex;
    align-items: center;
    .line {
      width: 50px;
      height: 1px;
      background-color: #f0f0f0;
    }
    .title {
      font-size: 14px;
      color: #333;
      margin: 15px;
      font-weight: 700;
    }
  }

  .content {
    @include flex;
    width: 271px;
    height: 201px;
    .item {
      @include cloumn-center;
      width: 88px;
      height: 88px;
       &:nth-child(2) {
        img{
          border-radius: 50%;
        }
      }
      img {
        width: 60px;
        height: 60px;
      }
     
      span {
        font-size: 12px;
        color: #333;
        height: 28px;
        line-height: 28px;
        width: 60px;
        text-align: center;
      }
    }
  }
}
</style>
